package com.itheima.grow.model.info;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.itheima.grow.model.enums.LotusDatePattern;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionInfo {

    private Integer id;

    private String qname;

    private String qlevel;

    @JsonFormat(pattern = LotusDatePattern.DATE_TIME)
    private Date createTime;
}
